|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OpponentModel
negotiator.boaframework.opponentmodel.CUHKFrequencyModelV2
public class CUHKFrequencyModelV2
Optimized version of the ANAC2012 CUKHAgent opponent model. Adapted by Mark Hendrikx to be compatible with the BOA framework. This model keeps track of how many times each value has been offered. In the author's implementation the sum of the value scores is used to quantify the quality of the bid. In my BOA-compatible implementation I divide the sum of the value scores by the maximum possible score to normalize the score to a utility. Note that after 100 bids the model is no longer updated. Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OpponentModel |
|---|
negotiationSession, opponentUtilitySpace |
| Constructor Summary | |
|---|---|
CUHKFrequencyModelV2()
|
|
| Method Summary | |
|---|---|
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile. |
java.lang.String |
getName()
|
UtilitySpace |
getOpponentUtilitySpace()
Returns the estimated utilityspace. |
double |
getWeight(Issue issue)
This model does not rely on issue weights. |
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
initialization of the model in which the issues are cached and the score keeper for each issue is created. |
void |
updateModel(Bid bid,
double time)
This function updates the opponent's Model by calling the updateStatistics method |
| Methods inherited from class negotiator.boaframework.OpponentModel |
|---|
cleanUp, endSession, getIssueWeights, init, isCleared, loadData, setOpponentUtilitySpace, setOpponentUtilitySpace, storeData, updateModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CUHKFrequencyModelV2()
| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
init in class OpponentModelnegotiationSession - reference to the state of the negotiation
java.lang.Exception
public void updateModel(Bid bid,
double time)
updateModel in class OpponentModelbid - to update the model with.time - at which the bid was offered.public double getBidEvaluation(Bid bid)
OpponentModel
getBidEvaluation in class OpponentModelbid - of which the utility is calculated.
public UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace in class OpponentModelpublic double getWeight(Issue issue)
getWeight in class OpponentModelissue - from which the weight should be returned
public java.lang.String getName()
getName in class OpponentModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||